Skip to content

Conversation

@nnd389
Copy link
Contributor

@nnd389 nnd389 commented Oct 25, 2024

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Here are the Nelson ODE updates! Feel free to take or leave any portion of these changes. I didn't find anywhere to add figures, but the plot that this code produces just shows a funky comparison of different algorithms. When I was searching for accurate, quick algorithms to use, I discovered that lsoda produces accurate results using the saveat parameter, but I'm still unsure as to why.
Thanks!

sol1 = solve(prob, Rodas5P())
sol2 = solve(prob, FBDF())
sol3 = solve(prob, lsoda())
sol4 = solve(prob, lsoda(), saveat = 1e10)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saveat does not change the accuracy of the solution. I'm curious, what are you trying to show with this part?

@nnd389
Copy link
Contributor Author

nnd389 commented Oct 25, 2024 via email

@ChrisRackauckas
Copy link
Member

Thanks for the contributions! It needed a little bit more in the bump, which I incorporated into #1110. The built website should have your changes in about 2 days.

@nnd389
Copy link
Contributor Author

nnd389 commented Nov 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants